package com.dx_society.service;

import com.dx_society.domain.SocietiesMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dx_society.dto.Result;

import java.util.List;

/**
* @author 韶光善良君
* @description 针对表【dx_societies_member(社团成员关系表)】的数据库操作Service
* @createDate 2024-07-01 10:15:25
*/
public interface SocietiesMemberService extends IService<SocietiesMember> {

    Result leaveSocieties(Long id, String leaveReason);

    Result joinSocieties(Long id, String joinReason);

    Result queryMySocietyMemberList();

    List<SocietiesMember> queryMemberListWithSoId(Long id, Integer state);

    Result queryMySocietyJoinList();

    Result queryMySocietyLeaveList();

    Result agreeJoin(Long id, Boolean agree);

    Result agreeLeave(Long id, Boolean agree);

    Result deleteMySocietyMember(Long id);

    Result queryMySocietyList(Integer state);

}
